import numpy as np
import torch


# np_array = np.array([[1,2,3,4,5,6,7],[11,22,33,44,55,66,77]])
# t = torch.from_numpy(np_array)

# t = torch.randint(0, 9, size=(3, 4))
# print(t)
#
# mask = t.ge(5)
# print(mask)
#
# t_select = torch.masked_select(t, mask)
# print(t_select)

# t = torch.randperm(8)
# print(t)
#
# t_reshape = torch.reshape(t,(4, 2))
# print(t_reshape)

t = torch.rand((3, 4, 5))
print(t)
t_transpose = torch.transpose(t, 0, 1)
print(t_transpose)
